<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="/template/template.xhtml">
	<ui:define name="header">
		<div id="menu">
			<ul>
				<li><h:outputLink value="index.xhtml"><h:outputText value="#{msg.home}"/></h:outputLink></li>
				<li><h:outputLink value="login.xhtml"><h:outputText value="#{msg.entrar}"/></h:outputLink></li>
				<li><h:outputLink value="about.xhtml"><h:outputText value="#{msg.about}"/></h:outputLink></li>
				<li class="current_page_item"><h:outputLink value="contato.xhtml"><h:outputText value="#{msg.contato}"/></h:outputLink></li>
			</ul>
		</div>
	</ui:define>
	<ui:define name="content">
	    <div class="post">
			<h2 class="title" style="text-align:center"><h:outputLink value="#">Acervo Digital de Filmes</h:outputLink></h2>
				<div class="entry">
					<h:messages infoStyle="color:blue" />
  					<p align="left"><br/><h:outputText value="#{msg.mandeemail}"/>
	  					Anderson Josué - <h:outputLink value="mailto:andersonjosue@gmail.com"> andersonjosue@gmail.com</h:outputLink> <br />
	  					<h:outputText value="#{msg.manderecado}"/>
	  	
					  	<h:panelGrid border="0" columns="2">
							<h:outputText value="#{msg.nome}: " />
							<p:inputText value="#{RecadoBean.nome}" />
							
							<h:outputText value="#{msg.recado}: " />
							<p:inputTextarea style="width:176px;height:80px;" effectDuration="400" value="#{RecadoBean.recado}" />  
							<h:outputText/>
							<h:panelGroup>
								<div style="text-align: right;">
									<h:commandButton actionListener="#{RecadoBean.limpar}" value="#{msg.limpar}" />
									<h:commandButton value="#{msg.enviar}" type="submit" action="#{RecadoBean.enviarRecado}"/>
								</div>
							</h:panelGroup>
						</h:panelGrid>  
 					</p>
  
				</div>
		</div>
		<div style="clear: both; height: 112px;">&nbsp;</div>
	</ui:define>
</ui:composition>
</html>